package com.lottery.bootdo.common.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lottery.bootdo.common.service.EventsInfoService;
import com.lottery.common.dao.EventsInfoMapper;
import com.lottery.common.entity.EventsInfo;
import org.nutz.lang.util.NutMap;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 赛事信息表 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2019-09-23
 */
@Service
public class EventsInfoServiceImpl extends ServiceImpl<EventsInfoMapper, EventsInfo> implements EventsInfoService {
    @Resource
    private EventsInfoMapper eventsInfoMapper;
    @Override
    public IPage<EventsInfo> getEventsInfoList(Page page, NutMap nutMap) {
        return eventsInfoMapper.selectEventsList2(page,nutMap);
    }
}
